@import "../../component/header/header.scss";
@import "../../component/footer/footer.scss";
@import "../../component/title/title.scss";
@import "../../component/bread/bread.scss";
@import "../../component/side/side.scss";
@import '../../component/login/login.scss';

.main-1 {
    background: url("../../img/product-detail-bg.png") center center;
    height: 300px;
    .bread {
        margin-top: 0px;
        padding-top: 18px;
        margin-bottom: 18px;
        color: white;
        a {
            color: white;
        }
    }
    .card {
        position: relative;
        z-index: 1;
        padding: 20px;
        border-radius: 8px;
        background-color: white;
        box-sizing: border-box;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
        img {
            width: 400px;
            height: 255px;
        }
        .info {
            color: $l-word;
            margin-left: 40px;
            h1 {
                font-size: 30px;
                margin-bottom: 24px;
                padding-top: 6px;
            }
            p:nth-of-type(1) {
                color: $l-word;
                font-size: 16px;
                margin-bottom: 32px;
                span {
                    display: inline-block;
                    margin-right: 20px;
                }
            }
            p:nth-of-type(2) {
                margin-bottom: 25px;
            }
            p:nth-of-type(3) {
                vertical-align: bottom;
                margin-bottom: 30px;
                span:nth-of-type(1) {
                    font-size: 32px;
                    color: $red;
                    display: inline-block;
                    margin-right: 20px;
                }
            }
            p:nth-of-type(4) {
                a {
                    @include btn(140,40);
                    margin-right: 30px;
                }
            }
        }
    }
}

.main-2 {
    padding-top: 100px;
    background-color: $content-bg;
    .tab {
        width: 955px;
        background-color: white;
        .tab-category {
            padding-left: 20px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
            li {
                float: left;
                &.active a {
                    border-top: 2px solid $blue;
                    color: $blue;
                }
                a {
                    color: $l-word;
                    font-size: 20px;
                    display: inline-block;
                    margin-right: 50px;
                    height: 62px;
                    line-height: 62px;
                    border-top: 2px solid transparent;
                    &:hover {
                        border-top: 2px solid $blue;
                        color: $blue;
                    }
                }
            }
        }
    }
    .tab-item {
        ul {
            li {
                min-height: 700px;
                padding: 20px;
                padding-top: 30px;
                line-height: 1.6;
                p {
                    margin: 10px 0;
                }
                img {
                    display: inline-block;
                    margin: auto;
                }
                &:not(:nth-of-type(1)) {
                    display: none;
                }
            }
        }
    }
}
